function foo(promise) { await promise; }